<template>
  <div>
    <van-tabs v-model:active="active" sticky swipeable>
      <van-tab title="全部">
        <OrderList :key="0" :status="0"/>
      </van-tab>
      <van-tab title="待支付">
        <OrderList :key="1" :status="1"/>
      </van-tab>
      <van-tab title="待发货">
        <OrderList :key="2" :status="2"/>
      </van-tab>
      <van-tab title="待收货">
        <OrderList :key="3" :status="3"/>
      </van-tab>
      <van-tab title="待评价">
        <OrderList :key="4" :status="4"/>
      </van-tab>
    </van-tabs>
  </div>
</template>

<script setup>
import {ref} from 'vue'

const active=ref(0)


</script>

<style scoped lang="less">
</style>